// 开发环境的配置
let merge=require('webpack-merge')
let base=require('./webpack.base')
let mergeRes=merge(base,{
    mode: 'development',
    entry: [
        "react-hot-loader/patch",
        './src/index.js'
    ],
    devServer: {
            port: 8080
        },
    devtool:'source-map' //可以在浏览器上看到源代码
})
module.exports=mergeRes